package 第二章;
import java.util.Scanner;
public class 圆的周长和面积 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入圆的半径：");
        double R=input.nextDouble();
        System.out.println("该圆的半径为："+"R="+R);
        System.out.println("该圆的面积："+"S="+R+"*3.14*"+R+"="+R*3.14*R);
        System.out.println("该圆的周长："+"C=2*3.14*"+R+"="+R*3.14*2);
    }
}
